package org.raftkv.raft.core.enums;

public enum StateType {

    StateFollower("StateFollower"),
    StateCandidate("StateCandidate"),
    StateLeader("StateLeader"),
    StatePreCandidate("StatePreCandidate"),
    NumStates("NumStates");

    private String desc;

    StateType(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

}
